﻿using System;
using System.ComponentModel.Composition;

namespace TrackMe.View.Frames
{
    [Export(typeof(ISearchView))]
	public partial class TaskSearch : ISearchView
	{
		public TaskSearch()
		{
			InitializeComponent();
		}

    	public bool IsRefreshingTFS
    	{
    		set {
				Dispatcher.BeginInvoke(new Action(() => bRefresh.Content = value ? "wait" : "(R)"));
    		}
    	}
	}
}
